import 'package:flutter/material.dart';

class SingleChildScrollViewRoute extends StatelessWidget {
  const SingleChildScrollViewRoute({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('SingleChildScrollView'),
      ),
      body: SingleChildScrollView(
        child: Center(
          child: Builder(
            builder: (_) {
              String str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
              return Column(
                children: str
                    .split("")
                    .map((e) => Text(e, textScaleFactor: 3))
                    .toList(),
              );
            },
          ),
        ),
      ),
    );
  }
}
